﻿<!DOCTYPE html>
<html><head>
  <title>替换和定位的类型</title>
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=8">
  <meta name="generator" content="Help &amp; Manual">
  <meta name="keywords" content="OpenType Layout Features,OpenType Layout Features Supported substitutions">
  <meta name="description" content="The OpenType Layout Feature specification describes eight types of substitution lookups in the glyph substitution table (GSUB) which are all supportedby FontCreator:">
  <link type="text/css" href="default.css" rel="stylesheet">
  <link type="text/css" href="custom.css" rel="stylesheet">
  <style type="text/css" media="screen">
      html,body { margin:0;
        padding:0;
       background: #ffffff;
      }
      div#printheader { display: none; }
      #idheader {
        width:100%;
        height:auto;
        padding: 0;
        margin: 0;
        position: fixed;
        top: 0;
        z-index: 2;
      }
      /* The "min-height" for "#idheader table" ensures that the (blue) header of the topic
         has at least the same height as the header of the navigation panel left of it */
      #idheader table {background: #2C5D88; min-height: 59px }
      #idheader h1 span { color: #FFF }
      #idnav {
        text-align: right;
        width: 126px;
        vertical-align: middle;
      }
      #idnav a { text-decoration: none }
      #idnav span {
        display: inline-block;
        width: 24px;
        height: 24px;
        margin-left: 4px;
       background:url('hm_webhelp_buttons_grey.png') top left no-repeat;
      }
      #idnav a span {
       background-image:url('hm_webhelp_buttons_white.png');
      }
      #idnav a span:hover {
       background-image:url('hm_webhelp_buttons_orange.png');
      }
      #idnav span.hmbtnprev {background-position: 0 -32px }
      #idnav span.hmbtnnext {background-position: -24px -32px }
      #idnav span.hmbtntop  {background-position: -48px -32px }
      #idnav span.hmbtntoggle  { width: 20px;background-position: -70px -32px }
      #idnav span.hmbtnprint  {background-position: -88px -32px }
      #callout-table, #overview-table {display:block; position:relative; top:0; left:0;}
      #callout-icon {display:block; position:absolute; top:-11px; left:-11px;}
      #callout-icon-flag {display:block; position:absolute; top:-11px; left:-8px;}
      #callout-table a {text-decoration: none; color:blue;}
      #callout-table a:visited {text-decoration: none; color:blue;}
      #overview-table a {text-decoration: none; color:black;}
      #overview-table a:visited {text-decoration: none; color:black;}
      #callout-table a:hover, #overview-table a:hover {text-decoration: underline;}
      p.help-url { margin: 20px 0 5px 0; text-align: center; font-size: 80%; text-decoration: none }
      #switchtoggles { text-align: right; padding: 0 2px 0 0; font-size: 90%; }
      .sync-toc { color: #FFF; font-size: 8pt; font-weight:bold; display: none; }
      .sync-toc a { color: #FFF; text-decoration: none; font-weight:bold;}
      .sync-toc a:visited { color: #FFF; }
      .sync-toc a:hover { text-decoration: underline; }
      a.hmanchor { display: inline-block; margin-top: -4em; padding-top: 4em }	
  </style>
  <style type="text/css" media="print">
      div#idheader, img.dropdown-toggle-icon, p.help-url { display:none }
  </style>
  <script type="text/javascript" src="jquery.js"></script>
  <script type="text/javascript" src="helpman_settings.js"></script>
  <script type="text/javascript" src="helpman_topicinit.js"></script>
</head>
<body>
<div id="printheader"><h1 class="p_Heading1" style="page-break-after: avoid;"><span class="f_Heading1">OpenType 布局特征 - 替换和定位</span></h1>
</div>
<div id="idheader" style="position: relative;">
<div id="idheaderbg">
<table style="width:100%;border:none;margin:0px;" cellspacing="0" cellpadding="0">
 <tbody><tr>
   <td class="topichead" style="text-align:left; vertical-align:bottom">
     <p class="crumbs"><b>导航：</b>&nbsp;编辑字体 &gt; 格式 &gt; OpenType 布局特征 &gt;</p>
     <h1 class="p_Heading1" style="page-break-after: avoid;"><span class="f_Heading1">OpenType 布局特征 - 替换和定位</span></h1>
   </td>
   <td class="topichead" id="idnav">
     <a href="otlfadvancededitingfeatures_2.html" title="上一主题"><span class="hmbtnprev"></span></a>
     <a href="welcometothefontcreator.html" title="返回首章"><span class="hmbtntop"></span></a>
     <a href="fc_opentypedesigner.html" title="下一主题"><span class="hmbtnnext"></span></a>
   </td>
 </tr>
</tbody></table>
</div>
</div>
<div id="idcontent" style="margin-top: 0px;"><div id="innerdiv">
<!--ZOOMRESTART-->
<p class="p_Normal">OpenType 布局特征规范在字形替换(Substitution)表 (GSUB) 中描述了八类替换查询(lookup)，这些类型 FontCreator 都予以支持：</p>
<div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0.1042in 0;"><table style="border:none;border-spacing:0;">
<thead>
<tr>
<th style="vertical-align:top; width:0.4in; padding:0;border:none"><p class="p_Normal"><span style="font-weight:bold;">#</span></p>
</th>
<th style="vertical-align:top; width:4.0in; padding:0;border:none"><p class="p_Normal"><span style="font-weight:bold;">类型</span></p>
</th>
<th style="vertical-align:top; width:5.5in; padding:0;border:none"><p class="p_Normal"><span style="font-weight:bold;">描述</span></p>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="vertical-align:top; width:0.4in; padding:0;border:none"><p class="p_Normal">1</p>
</td>
<td style="vertical-align:top; width:4.0in; padding:0;border:none"><p class="p_Normal">Single（单个）</p>
</td>
<td style="vertical-align:top; width:5.5in; padding:0;border:none"><p class="p_Normal">用另一单个字形替换(Substitute)单个字形(a -&gt;b)</p>
</td>
</tr>
<tr>
<td style="vertical-align:top; width:0.4in; padding:0;border:none"><p class="p_Normal">2</p>
</td>
<td style="vertical-align:top; width:4.0in; padding:0;border:none"><p class="p_Normal">Multiple（多个）</p>
</td>
<td style="vertical-align:top; width:5.5in; padding:0;border:none"><p class="p_Normal">用另外多个字形替换单个字形(a -&gt; xyz)</p>
</td>
</tr>
<tr>
<td style="vertical-align:top; width:0.4in; padding:0;border:none"><p class="p_Normal">3</p>
</td>
<td style="vertical-align:top; width:4.0in; padding:0;border:none"><p class="p_Normal">Alternate（替补）</p>
</td>
<td style="vertical-align:top; width:5.5in; padding:0;border:none"><p class="p_Normal">用多个替补字形之一替换单个字形(a -&gt; x 或 y 或 z)</p>
</td>
</tr>
<tr>
<td style="vertical-align:top; width:0.4in; padding:0;border:none"><p class="p_Normal">4</p>
</td>
<td style="vertical-align:top; width:4.0in; padding:0;border:none"><p class="p_Normal">Ligature（连字）</p>
</td>
<td style="vertical-align:top; width:5.5in; padding:0;border:none"><p class="p_Normal">用单个连字替换多个字形(f f i -&gt; ffi)</p>
</td>
</tr>
<tr>
<td style="vertical-align:top; width:0.4in; padding:0;border:none"><p class="p_Normal">5</p>
</td>
<td style="vertical-align:top; width:4.0in; padding:0;border:none"><p class="p_Normal">Context（上下文）</p>
</td>
<td style="vertical-align:top; width:5.5in; padding:0;border:none"><p class="p_Normal">在上下文中替换一个或多个字形</p>
</td>
</tr>
<tr>
<td style="vertical-align:top; width:0.4in; padding:0;border:none"><p class="p_Normal">6</p>
</td>
<td style="vertical-align:top; width:4.0in; padding:0;border:none"><p class="p_Normal">Chaining Context（链式上下文）</p>
</td>
<td style="vertical-align:top; width:5.5in; padding:0;border:none"><p class="p_Normal">替换上下文的特定字形(3rd -&gt; 3<span style="font-size: 7pt; vertical-align: super;">rd</span>)</p>
</td>
</tr>
<tr>
<td style="vertical-align:top; width:0.4in; padding:0;border:none"><p class="p_Normal">7</p>
</td>
<td style="vertical-align:top; width:4.0in; padding:0;border:none"><p class="p_Normal">Extension Substitution（扩展替换）</p>
</td>
<td style="vertical-align:top; width:5.5in; padding:0;border:none"><p class="p_Normal">* 请见下文</p>
</td>
</tr>
<tr>
<td style="vertical-align:top; width:0.4in; padding:0;border:none"><p class="p_Normal">8</p>
</td>
<td style="vertical-align:top; width:4.0in; padding:0;border:none"><p class="p_Normal">Reverse chaining context（反向链式上下文）</p>
</td>
<td style="vertical-align:top; width:5.5in; padding:0;border:none"><p class="p_Normal">以相反的顺序应用，替换链式上下文中的单个字形</p>
</td>
</tr>
</tbody>
</table>
</div>
<p class="p_Normal">OpenType 布局特征规范在字形定位表 (GPOS) 中描述了九类定位(Positioning)查询，这些查询 FontCreator 都予以支持：</p>
<div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0.1042in 0;"><table style="border:none;border-spacing:0;">
<thead>
<tr>
<th style="vertical-align:top; width:0.4in; padding:0;border:none"><p class="p_Normal"><span style="font-weight:bold;">#</span></p>
</th>
<th style="vertical-align:top; width:4.0in; padding:0;border:none"><p class="p_Normal"><span style="font-weight:bold;">类型</span></p>
</th>
<th style="vertical-align:top; width:5.5in; padding:0;border:none"><p class="p_Normal"><span style="font-weight:bold;">描述</span></p>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="vertical-align:top; width:0.4in; padding:0;border:none"><p class="p_Normal">1</p>
</td>
<td style="vertical-align:top; width:4.0in; padding:0;border:none"><p class="p_Normal">Single adjustment（单个调整）</p>
</td>
<td style="vertical-align:top; width:5.5in; padding:0;border:none"><p class="p_Normal">更改单个字形的位置（下标/上标）</p>
</td>
</tr>
<tr>
<td style="vertical-align:top; width:0.4in; padding:0;border:none"><p class="p_Normal">2</p>
</td>
<td style="vertical-align:top; width:4.0in; padding:0;border:none"><p class="p_Normal">Pair adjustment（成对调整）</p>
</td>
<td style="vertical-align:top; width:5.5in; padding:0;border:none"><p class="p_Normal">主要用于定义字距调整(Kerning)对子(pair)</p>
</td>
</tr>
<tr>
<td style="vertical-align:top; width:0.4in; padding:0;border:none"><p class="p_Normal">3</p>
</td>
<td style="vertical-align:top; width:4.0in; padding:0;border:none"><p class="p_Normal">Cursive attachment（连笔附接）</p>
</td>
<td style="vertical-align:top; width:5.5in; padding:0;border:none"><p class="p_Normal">用于脚本中，要求字形在出口(exit)和入口(entry)点处附接到上一个字形</p>
</td>
</tr>
<tr>
<td style="vertical-align:top; width:0.4in; padding:0;border:none"><p class="p_Normal">4</p>
</td>
<td style="vertical-align:top; width:4.0in; padding:0;border:none"><p class="p_Normal">Mark&#8209;to&#8209;Base attachment（标记&#8209;基本的附接）</p>
</td>
<td style="vertical-align:top; width:5.5in; padding:0;border:none"><p class="p_Normal">将一个诸如变音符号的组合标记附接到一个基本字形</p>
</td>
</tr>
<tr>
<td style="vertical-align:top; width:0.4in; padding:0;border:none"><p class="p_Normal">5</p>
</td>
<td style="vertical-align:top; width:4.0in; padding:0;border:none"><p class="p_Normal"> Mark&#8209;to&#8209;Ligature attachment（标记&#8209;连字的附接）</p>
</td>
<td style="vertical-align:top; width:5.5in; padding:0;border:none"><p class="p_Normal">将组合标记附接到连字</p>
</td>
</tr>
<tr>
<td style="vertical-align:top; width:0.4in; padding:0;border:none"><p class="p_Normal">6</p>
</td>
<td style="vertical-align:top; width:4.0in; padding:0;border:none"><p class="p_Normal">Mark&#8209;to&#8209;Mark attachment（标记&#8209;标记的附接）</p>
</td>
<td style="vertical-align:top; width:5.5in; padding:0;border:none"><p class="p_Normal">将组合标记附接到另一个标记</p>
</td>
</tr>
<tr>
<td style="vertical-align:top; width:0.4in; padding:0;border:none"><p class="p_Normal">7</p>
</td>
<td style="vertical-align:top; width:4.0in; padding:0;border:none"><p class="p_Normal">Context Positioning（上下文定位）</p>
</td>
<td style="vertical-align:top; width:5.5in; padding:0;border:none"><p class="p_Normal">在上下文中定位一个或多个字形</p>
</td>
</tr>
<tr>
<td style="vertical-align:top; width:0.4in; padding:0;border:none"><p class="p_Normal">8</p>
</td>
<td style="vertical-align:top; width:4.0in; padding:0;border:none"><p class="p_Normal">Chained Context Positioning（链式上下文定位）</p>
</td>
<td style="vertical-align:top; width:5.5in; padding:0;border:none"><p class="p_Normal">在链式上下文中定位一个或多个字形</p>
</td>
</tr>
<tr>
<td style="vertical-align:top; width:0.4in; padding:0;border:none"><p class="p_Normal">9</p>
</td>
<td style="vertical-align:top; width:4.0in; padding:0;border:none"><p class="p_Normal">Extension Substitution（扩展替换）</p>
</td>
<td style="vertical-align:top; width:5.5in; padding:0;border:none"><p class="p_Normal">* 请见下文</p>
</td>
</tr>
</tbody>
</table>
</div>
<p class="p_Normal">* 扩展替换是一种特殊的查询方式，仅用于具有大量特征的字体。如果需要，FontCreator 将自动包括此类查询。</p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal">另外，FontCreator 还支持当前定义的所有<a href="feature-parameters.html" class="topiclink">特征参数</a>。</p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal">所以，基本上 FontCreator 支持所有 OpenType 布局特征。对于当前尚未完全支持的最新内容列表，请访问我们的论坛<a href="https://forum.high-logic.com/viewtopic.php?f=4&amp;t=5098" target="_blank" class="weblink">https://forum.high-logic.com/viewtopic.php?f=4&amp;t=5098</a></p>
<!--ZOOMSTOP-->
</div></div>
<script type="text/javascript">
  $(document).ready(function(){
    $(window).bind('resize', function() {
      var y = $('#idheader').height();
      $('#idcontent').css('margin-top', y);
      var par = window.parent;
      if ($( par ).width()<= $( window ).width()+20) {
        $('#idheader').css('position', 'relative');
        $('#idcontent').css('margin-top', 0);
        $('#idbacktotop').css('display', 'block');
        $('.hmanchor').css('margin-top', -20);
	$('.hmanchor').css('padding-top', 20);
      }
      else {
        $('#idheader').css('position', 'fixed');
        $('#idcontent').css('margin-top', $('#idheader').height());
        $('#idbacktotop').css('display', 'none');
        $('.hmanchor').css('margin-top', -y-20);
	$('.hmanchor').css('padding-top', y+20);
      }
    });
    $(window).resize(); //trigger event for initially small displays
  });
</script>
</body></html>